<html lang="zh-CN">
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/themes/admin/assets/css/layui.css">
    <link rel="stylesheet" href="/themes/admin/assets/css/admin.css">
    <link rel="icon" href="/favicon.ico">
    <title>管理后台</title>
  </head>
  <body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
      <div class="layui-header custom-header">

        <ul class="layui-nav layui-layout-left">
          <li class="layui-nav-item slide-sidebar" lay-unselect>
            <a href="javascript:;" class="icon-font"><i class="ai ai-menufold"></i></a>
          </li>
        </ul>

        <ul class="layui-nav layui-layout-right">
         <li class="layui-nav-item">
                    <a href="javascript:;">{$userInfo.username}</a>
                    <dl class="layui-nav-child">
                        <!-- 二级菜单 -->
                        <dd><a onclick="xadmin.open('个人信息','http://www.baidu.com')">个人信息</a></dd>
                        <dd><a href = "/admin/user/logout">退出登录</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="/">前台首页</a>
          </li>
        </ul>
      </div>

      <div class="layui-side custom-admin">
        <div class="layui-side-scroll">

          <div class="custom-logo">
              <h1>TnCMS管理后台</h1>
          </div>
          <ul id="Nav" class="layui-nav layui-nav-tree">
            {volist name="ruleList[0]" id="vo"}
             <li class="layui-nav-item">
              <a href="javascript:;">
                <i class="layui-icon">{$vo.icon}</i>
                <em>{$vo.title}</em>
              </a>
              <dl class="layui-nav-child">
                {volist name="ruleList[$vo.id]" id="v"}
                 <dd><a href="{$v.name}">{$v.title}</a></dd>
                {/volist}
              </dl>
            </li>
            {/volist}
          </ul>

        </div>
      </div>

      <div class="layui-body">
        <div class="layui-tab app-container" lay-allowClose="true" lay-filter="tabs">
          <ul id="appTabs" class="layui-tab-title custom-tab"></ul>
          <div id="appTabPage" style="padding:30px;" class="layui-tab-content"></div>
        </div>
      </div>

      <div class="layui-footer">
        <p>前往官网：<a href="http://www.tn721.cn/" target="_blank">TnCMS</a></p>
      </div>

      <div class="mobile-mask"></div>
    </div>
    <script src="/themes/admin/assets/layui.js"></script>
    <script src="/themes/admin/assets/index.js"></script>
  </body>
</html>